<template>	
	<div @click="test">
		<span> 
			home{{count}}
		</span>
	</div>
</template>

<script>
	export default {
		data(){
			return {
				count:0
			}
		},
		created(){
			console.log(123);
		},
		methods:{ 
			test(){
				this.count++;
			}
		}
	}
</script>
<style scoped="scoped" lang="less" >
	div{
		.test{
			color: #abc;
		}
	}
		div{
			color: #f0f;
		}
</style>